package ModelLayer;		//makes this class a part of the ModelLayer package
import java.io.Serializable;
//import java.io.*;

/**
 * Write a description of class Employee here.
 * 
 * @author (ucn-1semprojekt-dm78-gruppe1) 
 * 
 */
@SuppressWarnings("serial")
public class Employee extends Person implements Serializable
{
    private String username;
    private String password;
    
    /**
     * Constructor for objects of class Employee
     */
    public Employee(String name, String address, String postal, String city, String phone, String email, String username, String password)
    {
    	super(name, address, postal, city, phone, email);
        this.username = username;
        this.password = password;
    }
    
    /**
     * Set the username of a Employee
     * 
     * @param username
     */
    public void setEmployee(String username)
    {
        this.username = username;
    }
    
    /**
     * Set the password of a Employee
     * 
     * @param password
     */
    public void setPassword(String password)
    {
        this.password = password;
    }
    
    /**
     * Get the username of a Employee
     * 
     * @return username
     */
    public String getUsername()
    {
        return username;
    }
    
    /**
     * Get the password of a Employee
     * 
     * @return password
     */
    public String getPassword()
    {
        return password;
    }

}
